package com.vlong.town.entity.information;

import java.io.Serializable;

/**
 * @author Assassin
 */
public class Information implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long informationId;// 主键
	private Integer state;// 删除标志位[0-是 1-否]   
	private Integer status;// 状态标志位
	private String title;// 标题
	private String content;// 内容
	private String desc;// 描述
	private String thumbnail;// 缩略图
	private Long createTime;// 创建时间
	private Long updateTime;// 修改时间
	private String reason;//理由
	
	// Empty Constructor
	public Information() {
		super();
	}
	

	// Property accessors

	public Long getInformationId () {
		return this.informationId;
	}
	
	public Information(Long informationId, Integer state, Integer status, String title, String content, String desc,
			String thumbnail, Long createTime, Long updateTime, String reason) {
		super();
		this.informationId = informationId;
		this.state = state;
		this.status = status;
		this.title = title;
		this.content = content;
		this.desc = desc;
		this.thumbnail = thumbnail;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.reason = reason;
	}


	public String getReason() {
		return reason;
	}


	public void setReason(String reason) {
		this.reason = reason;
	}


	public void setInformationId (Long informationId) {
		this.informationId =  informationId;
	}
	
	public Integer getState () {
		return this.state;
	}
	
	public void setState (Integer state) {
		this.state =  state;
	}
	
	public Integer getStatus () {
		return this.status;
	}
	
	public void setStatus (Integer status) {
		this.status =  status;
	}
	
	public String getTitle () {
		return this.title;
	}
	
	public void setTitle (String title) {
		this.title =  title;
	}
	
	public String getContent () {
		return this.content;
	}
	
	public void setContent (String content) {
		this.content =  content;
	}
	
	public String getDesc () {
		return this.desc;
	}
	
	public void setDesc (String desc) {
		this.desc =  desc;
	}
	
	public String getThumbnail () {
		return this.thumbnail;
	}
	
	public void setThumbnail (String thumbnail) {
		this.thumbnail =  thumbnail;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}
	
	@Override
	public String toString () {
		StringBuffer entityStirngBuffer = new StringBuffer();
		entityStirngBuffer.append("informationId = " +  this.getInformationId() + ",");
		entityStirngBuffer.append("state = " +  this.getState() + ",");
		entityStirngBuffer.append("status = " +  this.getStatus() + ",");
		entityStirngBuffer.append("title = " +  this.getTitle() + ",");
		entityStirngBuffer.append("content = " +  this.getContent() + ",");
		entityStirngBuffer.append("desc = " +  this.getDesc() + ",");
		entityStirngBuffer.append("thumbnail = " +  this.getThumbnail() + ",");
		entityStirngBuffer.append("createTime = " +  this.getCreateTime() + ",");
		entityStirngBuffer.append("updateTime = " +  this.getUpdateTime() + ",");
		return entityStirngBuffer.toString();
	}
	
}